import request from '@/utils/request'
import app from '../../App'

export function getAllOrders(date) {
  return request({
    url: app.BASE_URL + '/order/getAllOrders/' + date,
    method: 'get',
  })
}

export function getNewOrders(date) {
  return request({
    url: app.BASE_URL + '/order/getNewOrders/' + date,
    method: 'get',
  })
}
